/* 微信模态框遮罩层 - 与登录/注册页面保持一致 */
.wechat-modal-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    background-color: transparent;
    display: none;
    z-index: 10002;
}

/* 模态框内容盒子 - 尺寸与登录/注册一致 */
.wechat-modal-content {
    background-color: #fff;
    width: 400px;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #eee;
    position: relative;
    box-sizing: border-box;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 标题 */
.wechat-title {
    font-size: 28px;
    font-weight: 500;
    color: #333;
    margin-top: 30px;
    margin-bottom: 10px;
}

/* 副标题 */
.wechat-subtitle {
    font-size: 16px;
    color: #888;
    margin-bottom: 40px;
}

/* 二维码盒子 */
.qrcode-box {
    width: 200px;
    height: 200px;
    border: 1px solid #dcdcdc;
    margin-bottom: 30px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.wechat-qr-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 协议文本 */
.wechat-agreement {
    font-size: 14px;
    color: #666;
}

.wechat-agreement a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

/* 底部密码登录链接 - 绝对定位到底部，位置大概在 bottom 20% ? 图片看起来比较靠下，但不是最底。
   参考注册页面 "bottom: 20%"。图片中 "使用密码登录" 看起来离底部有一定距离。
   我们先试着用 margin-top: auto 把它推到底部附近，或者用 absolute.
   图片显示 "使用密码登录" 在最下方。
*/
.wechat-footer {
    position: absolute;
    bottom: 10.5%;
    /* 与注册页面的"已有账号"位置保持一致 */
    left: 0;
    width: 100%;
    text-align: center;
}

.password-login-link {
    color: #666;
    /* 灰色 */
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
}